package com.kitty.game.fight.message;


import com.kitty.mina.Modules;
import com.kitty.mina.annotation.MessageMeta;
import com.kitty.mina.message.Message;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
@MessageMeta(module = Modules.MSG_C_ACCEPT_HIT)
public class RespCombatAcceptHit extends Message {
    private int victim_id;
    private int attacker_id;
    private int para_ex;
    private short missed;//目标动作  1正常受伤动作 0躲闪
    private short para = 0;
//    private short skillId = 0;
//    private byte effect = 0;//触发特效?
    private int damage_type;//出手动作 17 物理连击 35必杀 Todo bitset取int  8193 物理破防 8194 法术破防 9物理反震  35物理必杀  34 法术必杀 17物理连击

    public void setVictim_id(int victim_id) {
        this.victim_id = victim_id;
    }

    public void setAttacker_id(int attacker_id) {
        this.attacker_id = attacker_id;
    }

    public void setPara_ex(int para_ex) {
        this.para_ex = para_ex;
    }

    public void setMissed(short missed) {
        this.missed = missed;
    }

    public void setPara(short para) {
        this.para = para;
    }

    public void setDamage_type(int damage_type) {
        this.damage_type = damage_type;
    }

    public int getVictim_id() {
        return this.victim_id;
    }

    public int getAttacker_id() {
        return this.attacker_id;
    }

    public int getPara_ex() {
        return this.para_ex;
    }

    public short getMissed() {
        return this.missed;
    }

    public short getPara() {
        return this.para;
    }

    public int getDamage_type() {
        return this.damage_type;
    }
}
